.class Lcom/kwad/sdk/api/loader/ProducerFactory$DownloadProducer;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/kwad/sdk/api/loader/ProducerFactory$Producer;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/kwad/sdk/api/loader/ProducerFactory;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0xa
    name = "DownloadProducer"
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lcom/kwad/sdk/api/loader/ProducerFactory$Producer<",
        "Lcom/kwad/sdk/api/loader/Api$Data;",
        ">;"
    }
.end annotation


# instance fields
.field mContext:Landroid/content/Context;

.field mInputProducer:Lcom/kwad/sdk/api/loader/ProducerFactory$Producer;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/kwad/sdk/api/loader/ProducerFactory$Producer<",
            "Lcom/kwad/sdk/api/loader/Api$Data;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method constructor <init>(Lcom/kwad/sdk/api/loader/ProducerFactory$Producer;Landroid/content/Context;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/kwad/sdk/api/loader/ProducerFactory$Producer<",
            "Lcom/kwad/sdk/api/loader/Api$Data;",
            ">;",
            "Landroid/content/Context;",
            ")V"
        }
    .end annotation

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lcom/kwad/sdk/api/loader/ProducerFactory$DownloadProducer;->mInputProducer:Lcom/kwad/sdk/api/loader/ProducerFactory$Producer;

    iput-object p2, p0, Lcom/kwad/sdk/api/loader/ProducerFactory$DownloadProducer;->mContext:Landroid/content/Context;

    return-void
.end method


# virtual methods
.method public produceResults(Lcom/kwad/sdk/api/loader/ProducerFactory$Consumer;)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/kwad/sdk/api/loader/ProducerFactory$Consumer<",
            "Lcom/kwad/sdk/api/loader/Api$Data;",
            ">;)V"
        }
    .end annotation

    iget-object v0, p0, Lcom/kwad/sdk/api/loader/ProducerFactory$DownloadProducer;->mInputProducer:Lcom/kwad/sdk/api/loader/ProducerFactory$Producer;

    new-instance v1, Lcom/kwad/sdk/api/loader/ProducerFactory$DownloadProducer$1;

    invoke-direct {v1, p0, p1, p1}, Lcom/kwad/sdk/api/loader/ProducerFactory$DownloadProducer$1;-><init>(Lcom/kwad/sdk/api/loader/ProducerFactory$DownloadProducer;Lcom/kwad/sdk/api/loader/ProducerFactory$Consumer;Lcom/kwad/sdk/api/loader/ProducerFactory$Consumer;)V

    invoke-interface {v0, v1}, Lcom/kwad/sdk/api/loader/ProducerFactory$Producer;->produceResults(Lcom/kwad/sdk/api/loader/ProducerFactory$Consumer;)V

    return-void
.end method
